package cn.dogger.easyboot.init.initEntity;

import cn.dogger.easyboot.init.annotation.InitField;
import cn.dogger.easyboot.init.annotation.InitTable;
import cn.dogger.easyboot.init.enums.FieldTypeEnums;
import lombok.Data;

/**
 * 角色和部门关联表
 *
 * @author dogger
 *  2022-07-27
 */
@Data
@InitTable(name = "sys_role_dept",remark = "角色和部门关联表")
public class SysRoleDept{

    @InitField(remark = "角色ID",name = "role_id",type = FieldTypeEnums.int_,keyFlag = true)
    private Long roleId;


    @InitField(remark = "部门ID",name = "dept_id",type = FieldTypeEnums.int_)
    private Long deptId;

}